package com.google.webCash.client;

import com.gwtext.client.widgets.Panel;

public class MessageConsole extends Panel {

	private static MessageConsole self = null;
	
	public static MessageConsole getInstacne(){
		if(self == null){
			self = new MessageConsole();
			creat();
		}
		return self;
	}
	
	private static void creat(){
		self.setBodyBorder(false);
		self.setHtml("<br>welcome");
		self.setWidth("30%");
		self.setStyle("color: #FF0000;text-align: right;");
	}
	
	public static void setText(String message){
		self.setHtml("<br>" + message);
	}
}
